package com.dy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName:
 * @Author: 仄言in
 * @Desctiption: (描述)
 * @Date: 2021/5/7 9:29
 * @Version 1.0 (版本)
 */
@Controller
public class PageController {
    @RequestMapping("/about")
    public String about(){
        System.out.println("---------about----------");
        return "about";
    }
    @RequestMapping("/archives")
    public String archives(){
        System.out.println("---------archives----------");
        return "archives";
    }
    @RequestMapping("/tags")
    public String tags(){
        System.out.println("---------tags----------");
        return "tags";
    }
    @RequestMapping("/blogs")
    public String blogs(){
        System.out.println("---------blogs----------");
        return "admin/blogs";
    }
    @RequestMapping("/blogsinput")
    public String blogsinput(){
        System.out.println("---------blogsinput----------");
        return "admin/blogsinput";
    }
    @RequestMapping("/shirotest")
    public String logintest(){
        System.out.println("---------logintest----------");
        return "shirotest";
    }
    @RequestMapping("/login")
    public String login(){
        System.out.println("---------admin/login----------");
        return "admin/login";
    }
    @RequestMapping("/home")
    public String home(){
        System.out.println("---------admin/home----------");
        return "admin/home";
    }
    @RequestMapping("/admintypes")
    public String admintypes(){
        System.out.println("---------admin/admintypes----------");
        return "admin/admintypes";
    }
    @RequestMapping("/admintypesinput")
    public String admintypesinput(){
        System.out.println("---------admin/admintypesinput----------");
        return "admin/typesinput";
    }
    @RequestMapping("/admintags")
    public String admintags(){
        System.out.println("---------admin/admintags----------");
        return "admin/admintags";
    }
}
